@page
@{ Layout = "_Layout"; }
@section Styles{
  <style>
        .el-transfer-panel{
            width:300px;
        }
        
        </style>
}

<el-card>
    <div slot="header" class="clearfix">
        <span>配置角色</span>
        <el-button style="float: right;padding:3px 0;" type="text" v-on:click="utils.closeLayer(false)"><i class="el-icon-close"></i></el-button>
    </div>
    <el-scrollbar class="scrollbar" :style="{ height: ($(window).innerHeight()-180) + 'px' }">
        <div style="margin-right:18px;">
            <el-form :size="euiSize" ref="permissionInfo" :model="permissionInfo">
                <el-form-item label="">
                    <div style="display:flex;justify-content:center;align-items:center;height:100%;">
                        <el-transfer filterable
                                     :filter-method="filterMethod"
                                     filter-placeholder="关键字查询" :titles="['待分配角色', '已分配角色']" v-model="permissionInfo.checkedRoles" :data="permissionInfo.allRoles" style="line-height:0px;"></el-transfer>
                    </div>
                </el-form-item>
            </el-form>
        </div>
    </el-scrollbar>
</el-card>
<el-row align="center" style="margin-top:18px;">
    <el-col :span="24" align="center">
        <el-button type="primary" v-on:click="btnSubmitClick" :size="euiSize">保 存</el-button>
        <el-button :size="euiSize" v-on:click="btnCancelClick">关 闭</el-button>
    </el-col>
</el-row>
@section Scripts{
<script src="/sitefiles/assets/js/admin/settings/administratorsRoleSet.js" type="text/javascript"></script> }